// -----------------------------------------------------------------------
//  <copyright file="UserRoleBase.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2023 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2023-12-25 9:00</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Identity.Domain.Entities;

public abstract class UserRoleBase : EntityBase
{
    /// <summary>
    /// Gets or sets the primary key of the user that is linked to a role.
    /// </summary>
    public virtual long UserId { get; set; } = default!;

    /// <summary>
    /// Gets or sets the primary key of the role that is linked to the user.
    /// </summary>
    public virtual long RoleId { get; set; } = default!;
}
